<?php
/**
 * @filesource					AccessModel.class.php
 * @desc						权限控制模型类
 * 
 * @author						houyining
 * @copyright					hou.yining@gmail.com
 * @date						2011-04-29
 */

class AccessModel extends Model{
	public function deleteByRoleId($role_id){
		$this->where(array('role_id' => $role_id))->delete();
	}
	
}

?>